package org.rain.core.rbac.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.rain.core.model.PersistenceModel;

/**
 * created by yangtong on 2025/4/8 14:09:51
 * <br/>
 * 角色-资源关系
 */
@Data
@TableName("role_permission")
public class RolePermission extends PersistenceModel<RolePermission> {
    /**
     * 角色id
     */
    private String roleId;

    /**
     * 资源id
     */
    private String permissionId;

    /**
     * 角色编码
     */
    private String roleCode;

    /**
     * 用户编码
     */
    private String permissionCode;


}
